import React from "react";
import style from "../styles/index.module.scss";
import { useNavigate } from "react-router-dom";

export default function login() {
  const navigate = useNavigate();

  const toTwo = () => {
    navigate("/two");
  };
  return (
    <div className={style.App} onClick={toTwo}>
      Start App
    </div>
  );
}
